package cn.jetpiece.cloud.joss.sdk.core.oss.model;

import java.io.Serializable;

/**
 * <p>
 * 更新授权记录
 * </p>
 *
 * @author XuJZ
 * @since 2020-09-05
 */
public class UpdateAccessor implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * UUID
     */
    private String id;

    /**
     * 默认桶名称
     */
    private String defaultBucketName;

    /**
     * 默认对象前缀路径
     */
    private String defaultObjectPrefixPath;

    /**
     * 系统名称
     */
    private String accessorName;

    /**
     * 请求有效时间
     */
    private Long requestValidTime;

    /**
     * 启用(1:是,0:否)
     */
    private Integer isEnable;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getDefaultBucketName() {
        return defaultBucketName;
    }

    public void setDefaultBucketName(String defaultBucketName) {
        this.defaultBucketName = defaultBucketName;
    }

    public String getDefaultObjectPrefixPath() {
        return defaultObjectPrefixPath;
    }

    public void setDefaultObjectPrefixPath(String defaultObjectPrefixPath) {
        this.defaultObjectPrefixPath = defaultObjectPrefixPath;
    }

    public String getAccessorName() {
        return accessorName;
    }

    public void setAccessorName(String accessorName) {
        this.accessorName = accessorName;
    }

    public Long getRequestValidTime() {
        return requestValidTime;
    }

    public void setRequestValidTime(Long requestValidTime) {
        this.requestValidTime = requestValidTime;
    }

    public Integer getIsEnable() {
        return isEnable;
    }

    public void setIsEnable(Integer isEnable) {
        this.isEnable = isEnable;
    }
}
